The polkit authentication dialog contains logic for
falling back to dispalying a user's username if that
user has no real name.
This logic is no longer needed because gdmuser does it
internally now.
https://bugzilla.gnome.org/show_bug.cgi?id=644765
userRealName = _('Administrator');
}
- // Work around Gdm.UserManager returning an empty string for the real name
- if (userRealName.length == 0)
- userRealName = userName;
-
if (userIsRoot) {
let userLabel = new St.Label(({ style_class: 'polkit-dialog-user-root-label',
text: userRealName }));